Skip to content

Conversation

@2uasimojo
Copy link
Member

@2uasimojo
Copy link
Member Author

/assign @abutcher

@openshift-ci openshift-ci bot requested review from dlom and suhanime February 27, 2023 23:00
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 27, 2023
@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Merging #1965 (826de3a) into master (40c8ac9) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1965   +/-   ##
=======================================
  Coverage   40.71%   40.71%           
=======================================
  Files         367      367           
  Lines       34240    34240           
=======================================
  Hits        13940    13940           
  Misses      19091    19091           
  Partials     1209     1209           

We resolved dependabot issues (see previous commit) by using a new-to-us
syntax for the `replace` directive in go.mod, where the left-hand side
of the arrow -- the version being replaced -- is specified at a
particular version. Our `modcheck` utility was not set up to handle this
properly: it was only using the library path as a map key for the
structures used to compare the two go.mod files. Fortunately, this
resulted in spurious failures; if the last replacement for a given
library happened to match between the two files, we wouldn't have
noticed.

This commit resolves the issue by including the replaced library's
version, if specified, in the map key used to compare the two go.mod
files. Thus all replacements for a given library are present in the maps
when we compare them, rather than just the last one.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 28, 2023

@2uasimojo: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@abutcher
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, abutcher

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 2c7e934 into openshift:master Feb 28, 2023
@2uasimojo 2uasimojo deleted the dependabot/8-14 branch February 28, 2023 20:45
2uasimojo added a commit to 2uasimojo/hive that referenced this pull request Mar 6, 2023
Commit acc096f in openshift#1965 added a bunch of `replace` directives to scrub
library versions with known vulnerabilities out of go.sum. Turns out
dependabot doesn't actually care about those -- just the ones in go.mod
-- so remove them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants